package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 标准商品条码表
 * </p>
 *
 * @author zzj
 * @since 2022-12-13
 */
@Data
@Schema(name = "Barcodes对象", description = "标准商品条码表")
public class Barcodes implements Serializable {

  private static final long serialVersionUID = 1L;

  @Schema(description = "主键ID")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @Schema(description = "条码")
  private Long barcode;

  @Schema(description = "商品名")
  private String name;

  @Schema(description = "规格")
  private String spec;

  @Schema(description = "单位")
  private String unit;

  @Schema(description = "价格")
  private String price;

  @Schema(description = "品牌")
  private String brand;

  @Schema(description = "厂商")
  private String supplier;

  @Schema(description = "产地")
  private String madeIn;

  @Schema(description = "创建时间")
  private LocalDateTime createdAt;

  @Schema(description = "更新时间")
  private LocalDateTime updatedAt;

  @Schema(description = "删除时间")
  private LocalDateTime deletedAt;

}
